//
//  ShareSheet.swift
//  Reminder
//
//  Created by HOA on 2021/8/5.
//

import SwiftUI

public struct ShareSheet: UIViewControllerRepresentable {
    
    private let activityItems: [Any]
    
    public init(activityItems: [Any]) {
        
        self.activityItems = activityItems
    }
    
    public func makeUIViewController(context: Context) -> UIActivityViewController {
        UIActivityViewController(activityItems: activityItems, applicationActivities: nil)
    }
    
    public func updateUIViewController(_ uiViewController: UIActivityViewController, context: Context) {
        
    }
    
}

